package com.lm.Observer;

public class Client {
    public static void main(String[] args) {
        Subject subject = new Subject();
        new ChildrenObserver(subject);
        new ChildrenObserver2(subject);
        new ChildrenObserver3(subject);
        subject.setState(12);
        System.out.println("-------------");
        subject.setState(15);
    }
}
